<?php
namespace BP\En;
require_once("java/util/ArrayList.php");
require_once("java/util/List.php");
class AttrSearchs extends ArrayList {
	protected static $serialVersionUID;	// long
	public static function __staticinit() { // static class members
		self::$serialVersionUID = 1;
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public function Add_Attr_b_String ($attr, $isShowSelectedAll, $relationalDtlKey) // [Attr attr, boolean isShowSelectedAll, String relationalDtlKey]
	{
			/* match: Attr_b_String_I */
		$this->Add_Attr_b_String_I($attr, $isShowSelectedAll, $relationalDtlKey, 130);
	}
	public function Add_Attr_b_String_I ($attr, $isShowSelectedAll, $relationalDtlKey, $width) // [Attr attr, boolean isShowSelectedAll, String relationalDtlKey, int width]
	{
		$en = AttrSearch::constructor__();
		$en->HisAttr = $attr;
		$en->IsShowAll = $isShowSelectedAll;
		$en->RelationalDtlKey = $relationalDtlKey;
		$en->Key = $attr->getKey();
		$en->Width = $width;
		$this->add($en);
	}
	public function addChild ($attr, $isShowSelectedAll, $reationChildKey) // [Attr attr, boolean isShowSelectedAll, String reationChildKey]
	{
		$en = AttrSearch::constructor__();
		$en->HisAttr = $attr;
		$en->IsShowAll = $isShowSelectedAll;
		$en->reationChildKey = $reationChildKey;
		$en->Key = $attr->getKey();
		$this->add($en);
	}
	public function addGrandChild ($attr, $isShowSelectedAll, $reationChildKey, $reationGrandChildKey) // [Attr attr, boolean isShowSelectedAll, String reationChildKey, String reationGrandChildKey]
	{
		$en = AttrSearch::constructor__();
		$en->HisAttr = $attr;
		$en->IsShowAll = $isShowSelectedAll;
		$en->reationChildKey = $reationChildKey;
		$en->reationGrandChildKey = $reationGrandChildKey;
		$en->Key = $attr->getKey();
		$this->add($en);
	}
	public function addParentAndChild ($attr, $isShowSelectedAll, $reationParentKey, $reationChildKey) // [Attr attr, boolean isShowSelectedAll, String reationParentKey, String reationChildKey]
	{
		$en = AttrSearch::constructor__();
		$en->HisAttr = $attr;
		$en->IsShowAll = $isShowSelectedAll;
		$en->reationParentKey = $reationParentKey;
		$en->reationChildKey = $reationChildKey;
		$en->Key = $attr->getKey();
		$this->add($en);
	}
	public function addParent ($attr, $isShowSelectedAll, $reationParentKey) // [Attr attr, boolean isShowSelectedAll, String reationParentKey]
	{
		$en = AttrSearch::constructor__();
		$en->HisAttr = $attr;
		$en->IsShowAll = $isShowSelectedAll;
		$en->reationParentKey = $reationParentKey;
		$en->Key = $attr->getKey();
		$this->add($en);
	}
	public function Add_AttrSearch ($attr) // [AttrSearch attr]
	{
		$this->add($attr);
	}
	public function toList () 
	{
		return $this;
	}
}
AttrSearchs::__staticinit(); // initialize static vars for this class on load
?>
